home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-12-06 | 609 b | 37 lines |
- !if $d(DEBUG)
- GDEBUG= -g -DDEBUG=1
- !endif
-
- GCCOPT= -O -Wall $(GDEBUG)
-
- all: ../lib/libqueue.a evtst386.exe
-
- evtst386: evtest.c ../lib/libqueue.a
- gcc -g -o evtst386 $(GCCOPT) -L../lib evtest.c -lqueue
-
- evtst386.exe: evtest.c ../lib/libqueue.a
- gcc -o evtst386 $(GCCOPT) -L../lib evtest.c -lqueue
- strip evtst386
- aout2exe evtst386
- del evtst386
-
- ../lib/libqueue.a: nextevnt.o event32.o
- -del ..\lib\libqueue.a
- ar -rvs ../lib/libqueue.a nextevnt.o event32.o
-
-
- #
- # Dependencies:
- #
- nextevnt.o: eventque.h
-
- event32.o: eventque.h
-
-
- #
- # Rules:
- #
- .c.o:
- gcc -c $(GCCOPT) $*.c
-